﻿using Basic.UserRemoteModel.User;
using Basic.UserRemoteModel.User.Model;
using Basic.UserService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserService.RpcEvent
{
    internal class UserWxEvent : IRpcApiService
    {
        private readonly IWxLoginService _Service;

        public UserWxEvent (IWxLoginService service)
        {
            this._Service = service;
        }

        public UserLoginResult UserWxLogin (UserWxLogin obj)
        {
            return this._Service.WxLogin(obj.Param);
        }
    }
}
